<?php

/**
* @current thread.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2016年4月27日 下午4:34:33
*/

namespace haibao\user\model\data;

class Thread extends Base{
    
    public $Fid;
    
    public $PostTableId;
    
    public $TypeId;
    
    public $SortId;
    
    public $ReadPerm;
    
    public $Price;
    
    public $Author;
    
    public $AuthorId;
    
    public $Subject;
    
    public $DateLine;
    
    public $LastPost;
    
    public $LastPostEr;
    
    public $Views;
    
    public $Replies;
    
    public $DisplayOrder;
    
    public $HighLight;
    
    public $Digest;
    
    public $Rate;
    
    public $Special;
    
    public $AttachMent;
    
    public $ModeRated;
    
    public $StickReply;
    
    public $Recommends;
    
    public $RecommendAdd;
    
    public $RecommendSub;
    
    public $Heats;
    
    public $Status;
    
    public $IsGroup;
    
    public $FavTimes;
    
    public $Stamp;
    
    public $Icon;
    
    public $PushedaId;
    
    public $Cover;
    
    public $ReplyCredit;
   
    public $RelateByTag;
    
    public $MaxPosition;
    
    public $BgColor;
    
    public $Comments;
    
    public $IsPopular;
    
    public $HotTime;
    
    public $postList;
    
    public $AddViewsList;
    
    public function __construct(){
        parent::__construct();
        
        $this->setColumnName('Id', 'tid');
        
        $this->intField('Fid', 'fid',true);
        $this->intField('PostTableId', 'posttableid',true);
        $this->intField('TypeId', 'typeid',true);
        $this->intField('SortId', 'sortid',true);
        $this->intField('ReadPerm', 'readperm',true);
        $this->intField('Price', 'price',true);
        $this->stringField('Author', 'author',true);
        $this->intField('AuthorId', 'authorid',true);
        $this->stringField('Subject', 'subject',true);
        $this->intField('DateLine', 'dateline',true);
        $this->intField('LastPost', 'lastpost',true);
        $this->intField('LastPostEr', 'lastposter',true);
        $this->intField('Views', 'views',true);
        $this->intField('Replies', 'replies',true);
        $this->intField('DisplayOrder', 'displayorder',true);
        $this->intField('HighLight', 'highlight',true);
        $this->intField('Digest', 'digest',true);
        $this->intField('Rate', 'rate',true);
        $this->intField('Special', 'special',true);
        $this->intField('AttachMent', 'attachment',true);
        $this->intField('ModeRated', 'moderated',true);
        $this->intField('StickReply', 'stickreply',true);
        $this->intField('Recommends', 'recommends',true);
        $this->stringField('RecommendAdd', 'recommend_add',true);
        $this->intField('RecommendSub', 'recommend_sub',true);
        $this->stringField('Heats', 'heats',true);
        $this->intField('Status', 'status',true);
        $this->intField('IsGroup', 'isgroup',true);
        $this->intField('FavTimes', 'favtimes',true);
        $this->intField('Stamp', 'stamp',true);
        $this->intField('Icon', 'icon',true);
        $this->intField('PushedaId', 'pushedaid',true);
        $this->intField('Cover', 'cover',true);
        $this->intField('ReplyCredit', 'replycredit',true);
        $this->stringField('RelateByTag', 'relatebytag',true);
        $this->intField('MaxPosition', 'maxposition',true);
        $this->stringField('BgColor', 'bgcolor',true);
        $this->intField('Comments', 'Comments',true);
        $this->intField('IsPopular', 'is_popular');
        $this->intField('HotTime', 'hottime');
        
        $this->setTableName('hb_forum_thread');
    }
}
?>
